package com.king.student;

import java.sql.SQLException;
import java.util.Scanner;

import com.king.student.biz.AdminController;
import com.king.student.biz.StudentController;

@SuppressWarnings("resource")
public class Main {

	
	public static void main(String[] args) throws SQLException {
		System.out.println("*****欢迎使用XXX教务系统*****");
		System.out.println("******** 请选择身份 ********");
		System.out.println("***1.管理员                             ****");
		System.out.println("***2.学生                                 ****");
		System.out.println("*************************");
		System.out.print("请输入身份对应的编号：");
		switch(new Scanner(System.in).nextInt()){
			case 1:
				AdminController.start();
				break;
			case 2:
				StudentController.start();
				break;
		}
	}
	
	
}